package cz.cvut.manatee.client;

import com.google.gwt.user.client.rpc.RemoteService;

import cz.cvut.manatee.shared.CorpusInformations;
import cz.cvut.manatee.shared.concordance.CollectedSearchParameters;
import cz.cvut.manatee.shared.concordance.ResultTableRow;
import cz.cvut.manatee.shared.login.User;

public interface RemoteServiceFrontend extends RemoteService {
	public ResultTableRow[] fetchConcordanceResultsArray( CollectedSearchParameters search ); 
	public CorpusInformations[] fetchCorpusesAndAttributes( ); 
	
	
	/*
	 * testovaci
	 */
	public CollectedSearchParameters collectedParameterMirror( CollectedSearchParameters search );
	public ResultTableRow fetchConcordanceResults( CollectedSearchParameters search );
	public String fetchConcordanceResults( );
	
	public User login(String login, String password);
}